package hjt.com.module.user.activity;

import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.tong.lib.base.BaseActivity;
import com.tong.lib.utils.SPUtils;

import butterknife.BindView;
import butterknife.ButterKnife;
import hjt.com.componentbase.constant.ARouterConstants;
import hjt.com.module.user.R;
import hjt.com.module.user.R2;
import hjt.com.module.user.service.UserService;

@Route(path = ARouterConstants.ACTIVITY_USER_SECOND)
public class SecondActivity extends BaseActivity {


    @BindView(R2.id.tv)
    TextView tv;

    @Override
    protected int getLayoutResID() {
        return R.layout.user_activity_second;
    }

    @Override
    protected void init(Bundle savedInstanceState) {
        tv.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                SPUtils.put("isLogin",true);
                SPUtils.put("token","获取到token");
                show("登录成功");
            }
        });

    }

    @Override
    protected void initEvent() {

    }


}
